
package mBeanControl.exceptions;

/**
 *
 * @author jbrasca
 * date: Aug 2, 2011
 */

public class ObjectNotFoundException extends Exception {
	private static final long serialVersionUID = 1L;
	Exception e;
	
	public ObjectNotFoundException(Exception e){
		this.e = e;
	}

   public String toString(){
	   if(e!=null){
		   return "Object not found exception: " + e.toString() ;
	   }
	   return "Object not found exception";
   }  
}